package cn.edu.ujn.booksshop.dao;


public class Payment {
    private Integer paymentid;

    private Integer orderid;

    private String paymentmethod;

    private String paymentdate;
    
    private Boolean isdeleted;

    public Integer getPaymentid() {
        return paymentid;
    }

    public void setPaymentid(Integer paymentid) {
        this.paymentid = paymentid;
    }

    public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getPaymentmethod() {
        return paymentmethod;
    }

    public void setPaymentmethod(String paymentmethod) {
        this.paymentmethod = paymentmethod == null ? null : paymentmethod.trim();
    }

	public String getPaymentdate() {
		return paymentdate;
	}

	public void setPaymentdate(String paymentdate) {
		this.paymentdate = paymentdate;
	}

	public Boolean getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Boolean isdeleted) {
		this.isdeleted = isdeleted;
	}

	@Override
	public String toString() {
		return "Payment [paymentid=" + paymentid + ", orderid=" + orderid + ", paymentmethod=" + paymentmethod
				+ ", paymentdate=" + paymentdate + ", isdeleted=" + isdeleted + "]";
	}


}